from my_web_scraper.scraper import fetch_title

def main():
    url = input("Enter a URL: ")
    title = fetch_title(url)
    print(f"The title of the page is: {title}")

if __name__ == "__main__":
    main()
